//
//  IWHChargeManager.h
//  WangHuo
//
//  Created by HappyWork on 2019/2/27.
//  Copyright © 2019 ifeng. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "ILGPay.h"

typedef void(^IWHPayCompletion)(NSError * _Nullable error, NSDictionary * _Nonnull payResult);

NS_ASSUME_NONNULL_BEGIN

@interface IWHChargeManager : NSObject
@property (nonatomic, strong) ILGPay *payKit;

+ (instancetype)sharedInstance;

- (void)pay:(NSString *)productId completion:(IWHPayCompletion)completion;

@end

NS_ASSUME_NONNULL_END
